import time


def music():
    for i in range(3):
        print('正在听音乐')
        time.sleep(1)

def coding():
    for i  in range(3):
        print('正在写代码')
        time.sleep(1)

if __name__ == '__main__':
    music()
    coding()

